package top.lishou.learnplat.service;

import top.lishou.learnplat.entity.Message;
import top.lishou.learnplat.entity.Senior;

import java.util.List;

public interface ISeniorService {
    Senior getSeniorById(Integer id);
    List<Senior> searchSeniorsBySchool(String school);

    boolean addMessage(Message message);
    List<Message> getMessagesBySeniorId(Integer id);
}